d82e4ceb7a6dae19b3da314314e7eb05acfc8b75,oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/ReadOnlyNodeTypeManager.java,ReadOnlyNodeTypeManager,getAllNodeTypes,#,190
Before Change
Tree types = getTypes();
if (types != null) {
for (Tree type : types.getChildren()) {
list.add(new NodeTypeImpl(this, getValueFactory(),
new NodeUtil(type, getNamePathMapper())));
}
After Change
List<NodeType> list = Lists.newArrayList();
Tree types = getTypes();
if (types != null) {
ValueFactory factory = getValueFactory();
NamePathMapper mapper = getNamePathMapper();
for (Tree type : types.getChildren()) {
list.add(new NodeTypeImpl(type, factory, mapper));